package com.borya.dao;

import com.borya.model.entity.ActivationPreAuditLogModel;
import com.borya.model.entity.SdkAppConfModel;
import com.borya.model.entity.SdkUserMapModel;

public interface SdkUserDAO extends BaseDAO {

    /**
     * 获取SDK商户激活预审记录
     **/
    ActivationPreAuditLogModel getPreAuditLog(String idCard, String operationType);

    /**
     * 获取单点结算sdk 第三方userId对应卡盟测userId
     **/
    SdkUserMapModel getSdkUserMap(String userId);

    /**
     * 获取单点结算sdk 配置表数据
     **/
    SdkAppConfModel getSdkAppConf(String appId);

    /**
     * 往tb_sdk_user_map表里同步数据
     */
    boolean addSdkAppConf(SdkUserMapModel model);

    SdkAppConfModel getSdkAppInfoByDetailType(String orderId);

    String getLivingStatusByDetailType(Integer detailType);
}
